package com.bone.payment.po;

import java.io.Serializable;
import java.util.Date;

import com.bone.constant.Constant;


public class PayGateway implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6151389695340496758L;
	/**
	 * 主键
	 */
	private Long gatewayId;
	/**
	 * 网关code
	 */
	private String gatewayCode;
	/**
	 * 网关名称
	 */
	private String gatewayName;
	/**
	 * 是否允许退款(允许=TRUE、不允许=FALSE)
	 */
	private String isAllowRefund;
	/**
	 * 退款网关CODE
	 */
	private String refundGatewayName;
	/**
	 * 退款网关CODE
	 */
	private String refundGatewayCode;
	/**
	 * 网关创建时间
	 */
	private Date createTime;
	/**
	 * 网关状态(禁用=FORBIDDEN、启动=ENABLE)
	 */
	private String gatewayStatus;
	/**
	 * 网关类型(ONLINE=线上支付、OTHER=其它支付、DIST=分销或团购支付)
	 */
	private String gatewayType;
	
	/**
	 * 退款顺序(部分退款时根据优先级进行退款)
	 */
	private Float refundSeq;
	
	private String operator;

	
	//set get 
	
	public Long getGatewayId() {
		return gatewayId;
	}

	public void setGatewayId(Long gatewayId) {
		this.gatewayId = gatewayId;
	}

	public String getGatewayCode() {
		return gatewayCode;
	}

	public void setGatewayCode(String gatewayCode) {
		this.gatewayCode = gatewayCode;
	}

	public String getGatewayName() {
		return gatewayName;
	}

	public void setGatewayName(String gatewayName) {
		this.gatewayName = gatewayName;
	}

	public String getIsAllowRefund() {
		return isAllowRefund;
	}

	public void setIsAllowRefund(String isAllowRefund) {
		this.isAllowRefund = isAllowRefund;
	}

	public String getRefundGatewayName() {
		return refundGatewayName;
	}

	public void setRefundGatewayName(String refundGatewayName) {
		this.refundGatewayName = refundGatewayName;
	}

	public String getRefundGatewayCode() {
		return refundGatewayCode;
	}

	public void setRefundGatewayCode(String refundGatewayCode) {
		this.refundGatewayCode = refundGatewayCode;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getGatewayStatus() {
		return gatewayStatus;
	}

	public void setGatewayStatus(String gatewayStatus) {
		this.gatewayStatus = gatewayStatus;
	}

	public String getGatewayStatusZh() {
		return Constant.ACTIVATE_STATUS.getCnName(this.getGatewayStatus());
	}

	public String getGatewayType() {
		return gatewayType;
	}

	public void setGatewayType(String gatewayType) {
		this.gatewayType = gatewayType;
	}
	
	public String getGatewayTypeZh() {
		return Constant.GATEWAY_TYPE.getCnName(this.getGatewayType());
	}

	public Float getRefundSeq() {
		return refundSeq;
	}

	public void setRefundSeq(Float refundSeq) {
		this.refundSeq = refundSeq;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}
	 
}
